import myVue from 'vue';
import myApp from './App.vue';

import myVueRouter from 'vue-router';
myVue.use(myVueRouter);
import myLogin from './components/account/Login.vue';
import myRegister from './components/account/Register.vue';
// 定义路由规则
var router1 = new myVueRouter({
    routes: [
        {
            path: '/login',
            component: myLogin,
        },
        {
            path: '/register',
            component: myRegister,
        }
    ],
});


import mitUI from 'mint-ui';
myVue.use(mitUI);
import 'mint-ui/lib/style.min.css';
import '../static/mui/css/mui.css';



new myVue({
    el: '#app',
    router: router1,
    render: create => create(myApp)
})